package dao;

import POJO.MoviePerformer;

import java.sql.SQLException;
import java.util.List;

/**
 * @auther 尚智江
 * @Date 2022/5/5 20:26
 */
public interface MoviePerformerDAO {
    public MoviePerformer queryById(Integer id) throws SQLException;
    public List<MoviePerformer> queryByName(String name);
    public int insert(MoviePerformer moviePerformer);
    public int update(MoviePerformer moviePerformer);
}
